home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Color;
- import java.awt.Graphics;
- import java.awt.Rectangle;
- import java.io.IOException;
-
- public class c18 extends c00 {
- // $FF: renamed from: Go byte
- protected byte field_0;
- // $FF: renamed from: HA byte
- protected byte field_1;
- // $FF: renamed from: NG byte
- protected byte field_2;
-
- // $FF: renamed from: In (java.awt.Color) void
- public void method_0(Color var1) {
- super.Mb = var1;
- }
-
- public c18(Color var1, Rectangle var2) {
- super((short)var2.x, (short)var2.y, (short)var2.width, (short)var2.height);
- super.GB = var1;
- }
-
- // $FF: renamed from: JL (java.awt.Graphics) void
- public void method_1(Graphics var1) {
- if (super.JC != 0) {
- Color var2 = var1.getColor();
- super.In(var1, super.Mb);
- int var3 = ((c00)this).GH();
- int var4 = ((c00)this).GT();
- int var5 = super.LZ * this.field_0 / 100 * 2;
- int var6 = this.field_1 < 0 ? var5 : super.LX * this.field_1 / 100 * 2;
- if (super.HE > 0) {
- int var7 = super.LX * super.HE / 100;
- Color var8 = var1.getColor();
- super.In(var1, Color.gray);
- if (this.field_2 != 0) {
- for(int var9 = 0; var9 < this.field_2; ++var9) {
- if (var5 == 0) {
- var1.drawRect(var3 + var7 + var9, var4 + var7 + var9, super.LZ - var9 * 2 - 1, super.LX - var9 * 2 - 1);
- } else {
- var1.drawRoundRect(var3 + var7 + var9, var4 + var7 + var9, super.LZ - var9 * 2 - 1, super.LX - var9 * 2 - 1, var5 - var9 * 2, var6 - var9 * 2);
- }
- }
- } else {
- var1.fillRoundRect(var3 + var7, var4 + var7, super.LZ, super.LX, var5, var6);
- }
-
- var1.setColor(var8);
- }
-
- if (this.field_2 != 0) {
- for(int var11 = 0; var11 < this.field_2; ++var11) {
- if (var5 == 0) {
- var1.drawRect(var3 + var11, var4 + var11, super.LZ - var11 * 2 - 1, super.LX - var11 * 2 - 1);
- } else {
- var1.drawRoundRect(var3 + var11, var4 + var11, super.LZ - var11 * 2 - 1, super.LX - var11 * 2 - 1, var5 - var11 * 2, var6 - var11 * 2);
- }
- }
- } else {
- var1.fillRoundRect(var3, var4, super.LZ, super.LX, var5, var6);
- }
-
- var1.setColor(var2);
- Object var10 = null;
- }
- }
-
- // $FF: renamed from: Lf (c14) java.lang.Object
- public Object method_2(c14 var1) throws IOException {
- super.Lf(var1);
- super.GB = var1.FX();
- this.field_0 = var1.Nb();
- this.field_1 = var1.Nb();
- if (var1.IW >= 51) {
- this.field_2 = var1.Nb();
- } else {
- this.field_2 = 0;
- }
-
- return this;
- }
-
- public c18() {
- }
- }
-